<div class="widgets">
    <div ba-panel ba-panel-title="用户反馈" ba-panel-class="with-scroll">
        <form class="row form-inline ng-pristine ng-valid ng-scope">
            <div class="col-lg-6 col-sm-12">
                <h5 style="line-height: 30px;" class="col-sm-3 col-xs-5">反馈内容:</h5>
                <div class="form-group  col-sm-8 col-xs-5">
                    <input type="text" class="form-control" id="inputEmail3" placeholder="请输入反馈内容" ng-model="feedback_search_data.content">
                </div>
            </div>
            <div class="col-lg-6 col-sm-12">
                <h5 style="line-height: 30px;" class="col-sm-3 col-xs-5">反馈人:</h5>
                <div class="form-group col-sm-8 col-xs-5">
                    <input type="text" class="form-control" id="exampleInputName2" placeholder="请输入反馈人" ng-model="feedback_search_data.username">
                </div>
            </div>
            <div class="col-lg-6 col-sm-12">
                <h5 style="line-height: 30px;" class="col-sm-3 col-xs-5">反馈日期：</h5>
                <div class="col-sm-4">
                    <input type="date" style="width: 100%;" id="dat1" class="form-control border-r5 width-100">
                </div>
                <div class="col-sm-4">
                    <input type="date" style="width: 100%;" id="dat2" class="form-control border-r5 width-100">
                </div>
            </div>
            <div class="col-lg-6 col-sm-12">
                <h5 style="line-height: 30px;" class="col-sm-3 col-xs-5">处理日期：</h5>
                <div class="col-sm-4">
                    <input type="date" style="width: 100%;" id="dat3" class="form-control border-r5 width-100">
                </div>
                <div class="col-sm-4">
                    <input type="date" style="width: 100%;" id="dat4" class="form-control border-r5 width-100">
                </div>
            </div>

            <div class="col-lg-6 col-sm-12">
                <h5 style="line-height: 30px;" class="col-sm-3 col-xs-12">反馈人电话:</h5>
                <div class="form-group  col-sm-8 col-xs-5">
                    <ng-form name=someForm>
                        <input type="tel" name="tel" class="form-control" pattern="^\d{0,11}$" id="inputEmail4" placeholder="请输入手机号" ng-model="feedback_search_data.mobile">
                        <div class="alert alert-danger ng-form-div" ng-show="someForm.tel.$error.pattern">
                            请输入正确的手机号
                        </div>
                    </ng-form>
                    <!--<input type="number" ame="usertel" class="form-control" id="inputEmail3" placeholder="请输入电话" ng-model="feedback_search_data.mobile">-->
                </div>

            </div>
            <div class="col-lg-6 col-sm-12">
                <h5 style="line-height: 30px;" class="col-sm-3 col-xs-5">处理状态:</h5>
                <div class="col-sm-5" style="    margin-top: 10px;">
                    <div style="margin-top: 5px;" class="col-sm-4"><label class="radio-inline custom-radio nowrap"><input type="radio" name="inlineRadioOptions" id="inlineRadio3" value="全部" ng-checked="feedback_search_data.status=='all'" ng-click="feedback_search_data.status='all'"> <span>全部</span></label></div>
                    <div style="margin-top: 5px;" class="col-sm-4"><label class="radio-inline custom-radio nowrap"><input type="radio" name="inlineRadioOptions" id="inlineRadio1" value="已解决 " ng-checked="feedback_search_data.status==true" ng-click="feedback_search_data.status=true"> <span>已解决</span></label></div>
                    <div style="margin-top: 5px;" class="col-sm-4"><label class="radio-inline custom-radio nowrap"><input type="radio" name="inlineRadioOptions" id="inlineRadio2" value="未解决" ng-checked="feedback_search_data.status==false" ng-click="feedback_search_data.status=false"> <span>未解决</span></label></div>
                </div>
                <div class="col-sm-3  text-right">
                    <button type="submit " class="btn btn-primary " ng-click="Search()">搜索</button>
                </div>
                <!--<div class="col-sm-2 text-left ">
                    <label>
                        <select class="form-control selectpicker show-tick " title="10 " selectpicker ng-model="smartTablePageSize " ng-options="i for i in [5,10,15,20,25] ">
                        </select>
                    </label>
                </div>-->
            </div>
        </form>
        </hr>
        </br>
        <table class="table table-bordered">
            <thead>
                <tr valign="middle">
                    <th class="browser-icons"></th>
                    <th class=" text-center">反馈人</th>
                    <th class=" text-center">反馈人手机</th>
                    <th class=" text-center">反馈内容</th>
                    <th class=" text-center">处理描述</th>
                    <th class=" text-center">处理状态</th>
                    <th class=" text-center">反馈日期</th>
                    <th class=" text-center">处理日期</th>
                    <th class=" text-center">操作</th>
                </tr>
            </thead>
            <tbody>
                <tr ng-repeat="item in Search_list_data " style="line-height:70px ">
                    <td style="; width: 50px;" class=" text-center ">{{item.num}}</td>
                    <td style=" " class=" text-center ">{{item.username|Intercept:20}}</td>
                    <td style="position:relative" class="text-center ">
                        {{item.mobile|Intercept:20}}
                    </td>
                    <td style=" " class=" text-center " title="{{item.content}}">{{item.content|Intercept:30}}</td>
                    <td style=" " class=" text-center " title="{{item.processdesc}}">
                        {{item.processdesc|Intercept:20}}
                    </td>
                    <td style=" " class=" text-center ">
                        <span ng-if="item.processstatus">已处理</span>
                        <span class="tag label label-primary friend" ng-if="!item.processstatus" style="font-weight: 500;background: #f78f8f;">未处理</span>
                    </td>
                    <td style=" " class=" text-center ">{{item.feedbacktime|date:'yyyy-MM-dd hh:mm'}}</td>
                    <td style=" width: 150px;" class=" text-center ">{{item.processtime|date:'yyyy-MM-dd hh:mm'}}</td>
                    <td style=" " class=" text-center ">
                        <button ng-if="!item.processstatus" type="button" class="btn btn-default  btn-xs" ng-click="open_text(item.id)">
                            <span >处理反馈</span>
                        </button>
                    </td>
                </tr>
            </tbody>
        </table>
        <div class="text-center row" style="padding: 20px; ">
            <div class="col-sm-6 text-right">
                <ul style=" margin: 0; " uib-pagination total-items="bigTotalItems " previous-text="上一页 " next-text="下一页 " first-text="首页 " last-text="尾页 " ng-model="feedback_search_data.page " ng-change="pageChanged(feedback_search_data.page) " max-size="maxSize " class="pagination-sm
                " boundary-links="true " num-pages="numPages " items-per-page="feedback_search_data.limit"></ul>
            </div>

            <div class="col-sm-6 text-left"><label>
                         <select style="height: 30px;font-weight: 300;" class="form-control"  selectpicker ng-model="feedback_search_data.limit"  ng-change="Search()"  ng-options="i for i in [5,10,20,50,100]">
                        </select>
                    </label> /条（每页）</div>
        </div>
    </div>
</div>